package com.my.mvvmrapid.ui.main.fragment.homepersonal.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.my.mvvmrapid.R;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.Collection;

/**
 * 功能适配器
 * @author zhongjh
 */
public class FunctionAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public FunctionAdapter() {
        super(R.layout.item_function);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, String item) {
        baseViewHolder.setText(R.id.tvTitle, item);
    }

    @Override
    public void setList(@Nullable Collection<? extends String> list) {
        super.setList(list);
    }

}
